package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.ConteudistaBO;
import br.com.firula.dao.ConteudistaDAO;
import br.com.firula.to.ConteudistaTO;

@SuppressWarnings("unchecked")
@Service("conteudistaBO")
public class ConteudistaBOImpl extends GenericBOImpl implements ConteudistaBO {

    @Autowired
    public void setConteudistaDAO(ConteudistaDAO dao) {
        this.dao = dao;
    }

    public ConteudistaBOImpl(){
    	setType("br.com.firula.to.ConteudistaTO");
    }

    public ConteudistaTO getConteudistaById(String id) {
    	return (ConteudistaTO)get(id);
    }
}